/*
* @author suhong
* @date 2022/5/19 15:30
* @file article.js
* @说明  获取文章列表
*/
const express=require('express')
const router=express.Router()
const articleHanler = require('../../router_handler/article/article')
//某个用户的文章
router.get('/userArticle',articleHanler.userArticle)
//用户写文章
router.post('/putout',articleHanler.PutoutArticle)
//某个用户的文章详情信息
router.get('/getArticle',articleHanler.getArticle)
//删除文章
router.delete('/delArticle',articleHanler.delArticle)
//首页展示文章
router.get('/showHome',articleHanler.ShowHome)
module.exports=router